SmartCrawl\Third_Party_Import\Importer B

Total Complexity 98
Dependencies 2
Dependents 0
Total lines 366
Lines of code 270
Logical lines of code 130
Comment lines 12
Methods 48
Properties 1

Methods 48

Method Rating Maintainability Complexity Lines of code
import()
A
48 9 36
expand_mappings()
A
52 9 24
try_custom_pre_processor()
S
58 5 15
pre_process_key()
S
60 5 15
try_custom_handlers()
S
58 4 16
is_value_truthy()
S
76 5 3
pre_process_value()
S
61 4 13
get_active_source_plugin()
S
66 3 9
get_status()
S
79 2 3
save_options()
S
70 2 6
is_custom_type_option()
S
79 2 3
get_posts_with_source_metas()
S
66 2 7
is_post_type_option()
S
78 2 3
is_taxonomy_option()
S
78 2 3
requires_array_wrapping()
S
78 2 3
requires_boolean_casting()
S
78 2 3
is_multipart_key()
S
78 2 3
requires_boolean_inversion()
S
78 2 3
get_deactivation_link()
S
68 2 7
remove_array_wrapping_indicators()
S
74 2 4
remove_boolean_casting_indicators()
S
74 2 4
remove_boolean_inversion_indicators()
S
74 2 4
get_taxonomies()
S
64 1 11
get_pre_processors()
S
82 1 3
get_custom_handlers()
S
82 1 3
get_key_parts()
S
79 1 3
data_exists()
S
100 1 0
load_mapping_file()
S
79 1 3
get_post_types()
S
79 1 3
remove_existing_wds_options()
S
73 1 5
import_for_all_sites()
S
64 1 10
set_status()
S
81 1 3
update_status()
S
79 1 3
get_next_network_site_option_id()
S
100 1 0
is_import_in_progress()
S
80 1 3
get_import_in_progress_option_id()
S
100 1 0
set_import_flag()
S
80 1 3
remove_existing_wds_taxonomy_meta()
S
81 1 3
get_source_plugins()
S
100 1 0
import_options()
S
100 1 0
import_taxonomy_meta()
S
100 1 0
remove_existing_wds_post_meta()
S
75 1 4
import_post_meta()
S
100 1 0
reset_import_flag()
S
81 1 3
enable_settings_page_on_subsites()
S
72 1 5
is_network_import_in_progress()
S
79 1 3
get_posts_with_target_metas()
S
75 1 4
update_site_status()
S
69 1 8